import request from '@/utils/myrequest'
// 区域名称
function getEqpAreasList(kvs) {
  return request({
    url: '/config/Layouts/GetEqpAreasList',
    method: 'get',
    kvs
  })
}
// 布局名称
function getLayoutsByArea(kvs) {
  return request({
    url: '/config/Layouts/GetLayoutsByArea',
    method: 'get',
    kvs
  })
}
// 获取布局样式
function eqpLayout(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetEqpInfo',
    method: 'get',
    kvs
  })
}
// 初始化布局样式
function initEqpLayout(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetUserLayout',
    method: 'get',
    kvs
  })
}
// 左键获取机台信息
function getBaseInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetBaseInfo',
    method: 'get',
    kvs
  })
}
// 左键获取lot info信息
function getLotInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetLotInfo',
    method: 'get',
    kvs
  })
}
// 左键获取site info信息
function getSiteInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetSiteInfo',
    method: 'get',
    kvs
  })
}
// 左键获取bin info信息
function getBinInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetBinInfo',
    method: 'get',
    kvs
  })
}
// 左键获取Yield Info信息
function getYieldInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetYieldInfo',
    method: 'get',
    kvs
  })
}
// 左键获取UPH Info信息
function getUPHInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetUPHInfo',
    method: 'get',
    kvs
  })
}
// 左键获取Tooling Info信息
function getToolingInfo(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetToolingInfo',
    method: 'get',
    kvs
  })
}
// 获取左键二级信息:Site Info
function getSiteInfoList(kvs) {
  return request({
    url: '/tms/EquipmentRealtimeMonitor/GetSiteInfo',
    method: 'get',
    kvs
  })
}
export default {
  getEqpAreasList, getLayoutsByArea, eqpLayout, initEqpLayout,
  getBaseInfo, getLotInfo, getSiteInfo, getBinInfo, getYieldInfo,
  getUPHInfo, getToolingInfo, getSiteInfoList
}
